package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveSchedule(Map<String, Object> paramMap);

    Page getSchedulePage(Map<String, Object> paramMap);

    void remove(Map<String, Object> paramMap);

    Map<String, Object> getSchedulePageByCondition(Integer page, Integer limit, String hoscode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    List<Schedule> findScheduleList(String hoscode, String depcode, String workDate);

    Schedule getScheduleInfoById(String id);

    ScheduleOrderVo getScheduleOrderInfoById(String scheduleId);

    void update(Schedule schedule);

    Schedule getScheduleInfoByScheduleId(String scheduleId);
}
